﻿using System;
using System.IO;
using System.Text;
using System.Web;
using System.Web.Mvc;

namespace WeiSha.Core
{
	// Token: 0x02000008 RID: 8
	public class CssView : IView
	{
		// Token: 0x0600003F RID: 63 RVA: 0x00003568 File Offset: 0x00001768
		public void Render(ViewContext viewContext, TextWriter writer)
		{
			HttpContextBase httpContext = viewContext.HttpContext;
			httpContext.Response.ContentType = "text/css";
			try
			{
				string rawUrl = httpContext.Request.RawUrl;
				writer.Write("file : \"" + rawUrl + "\" does not exist");
			}
			catch (Exception ex)
			{
				StringBuilder stringBuilder = new StringBuilder();
				stringBuilder.Append("Error:");
				stringBuilder.Append(ex.Message);
				writer.Write(stringBuilder.ToString());
			}
		}
	}
}
